double integrals over rectangles